﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGroupPlayer extends Object
    {
        public var player:SPublicPlayer;
        public var groupState:int;
        public var channelId:int;
        public var point:SPoint;

        public function SGroupPlayer()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.player.__write(param1);
            param1.writeInt(this.groupState);
            param1.writeInt(this.channelId);
            this.point.__write(param1);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.player = new SPublicPlayer();
            this.player.__read(param1);
            this.groupState = param1.readInt();
            this.channelId = param1.readInt();
            this.point = new SPoint();
            this.point.__read(param1);
            return;
        }// end function

    }
}
